<include file="public@header"/>
</head>
<body>
<div class="layui-fluid">
    

    <form action="{:url('audit_flow/addPost')}" method="post" class="layui-form js-ajax-form margin-top-20" >
        <div class="smart-widget widget-blue">
            <div class="layui-card">
                <div class="layui-card-header">{:lang('ADMIN_AUDITFLOW_ADD')}</div>
                <div class="layui-card-body">
                    <div class="layui-form-item">
                        <label class="layui-form-label">{:lang('AUDIT_FLOW_NAME')}</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" id="input-name" name="name" required>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-col-sm2 control-label">{:lang('DESCRIPTION')}</label>
                        <div class="layui-input-block">
                            <textarea class="layui-input"  name="description"></textarea>
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <if condition="cmf_auth_check(cmf_get_current_admin_id(), 'admin/AuditFlow/addPost')">
                                <button type="submit" class="layui-btn layui-btn-normal js-ajax-submit">{:lang('ADD')}</button>
                            </if>
                            <a class="layui-btn layui-btn-primary" href="{:url('audit_flow/index')}">{:lang('BACK')}</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<include file="public@footer"/>
